#pragma once

#if 0

/**************************************************************************
GAME 2
***************************************************************************/

struct Game2
{
	Viewport * _viewport;
	EntityGrid * _entity_grid;
	MessageRouter *	_router;
	EntityUpdateList * _entity_update_list;

	//private:
	//Game2(){};
};

Game2 * _game_;

static Game2 * game_create()
{	
	_game_ = new Game2();
	_game_->_viewport = new Viewport();
	_game_->_entity_update_list = new EntityUpdateList();
	_game_->_entity_grid = new EntityGrid();
	_game_->_router = new MessageRouter();
	return _game_;;
}

static inline Game2 * game_get()
{
	if (_game_)	{return _game_;}
	return game_create();
}
#endif

